package com.lcb.manager.entity;

import javax.persistence.*;
import java.sql.Date;

@Entity
@Table(name = "Person")
public class Person {

    @Id
    private Integer id;

    @Column(length = 32)
    private String headImg;
    @Column(length = 32)
    private String name;


    @Column
    private Integer sex;
    @Column
    private Integer race;

    @Column(length = 255)
    private String address;

    @Column(length = 32)
    private String state;
    @Column(length = 32)
    private String teacherName;

    @Column(length = 32)
    private String guardian;
    @Column(length = 32)
    private String guardianContact;

    private Date crimeTime;
    @Column(length = 32)
    private String crimeType;
    @Lob
    private String crimeDetail;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getRace() {
        return race;
    }

    public void setRace(Integer race) {
        this.race = race;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getGuardian() {
        return guardian;
    }

    public void setGuardian(String guardian) {
        this.guardian = guardian;
    }

    public String getGuardianContact() {
        return guardianContact;
    }

    public void setGuardianContact(String guardianContact) {
        this.guardianContact = guardianContact;
    }

    public Date getCrimeTime() {
        return crimeTime;
    }

    public void setCrimeTime(Date crimeTime) {
        this.crimeTime = crimeTime;
    }

    public String getCrimeType() {
        return crimeType;
    }

    public void setCrimeType(String crimeType) {
        this.crimeType = crimeType;
    }

    public String getCrimeDetail() {
        return crimeDetail;
    }

    public void setCrimeDetail(String crimeDetail) {
        this.crimeDetail = crimeDetail;
    }
}
